<?php

namespace app\service\system\admin;



use crmeb\exceptions\AuthException;
use service\CacheService;

class AdminAuthServices
{

    public function parseToken(string $token,int $code = 110003): array
    {
        $cacheService = app()->make(CacheService::class);

        if (!$token || $token==='undefined'){
            throw new AuthException($code);
        }


    }
}